package com.jwds.digital.bios.business.rpc.feign.fallback;

import com.jwds.digital.bios.business.core.infrastructure.dto.feign.BasicStockBinReqDTO;
import com.jwds.digital.bios.business.core.infrastructure.vo.feign.BasicStockBinRespVO;
import com.jwds.digital.bios.business.rpc.feign.BasicStockBinFeign;
import com.jwds.tdc.framework.application.lib.BaseResponse;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Author hesong
 */
@Slf4j
@Component
public class BasicStockBinFallBack extends DefaultFallBack implements BasicStockBinFeign {
    @Override
    public BaseResponse<BasicStockBinRespVO> queryById(Long id) {
        return fallBack();
    }

    @Override
    public BaseResponse<List<BasicStockBinRespVO>> list(BasicStockBinReqDTO reqDto) {
        return fallBack();
    }

    @Override
    public BaseResponse batchUpdate(List<BasicStockBinReqDTO> reqDto) {
        return fallBack();
    }


    @Override
    public BaseResponse delete(Long id) {
        return fallBack();
    }
}
